package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 编写一个springboot的主运行类
 */
@SpringBootApplication

@MapperScan("com.qf.mapper")  //告诉MapperScannerConfigurer扫描哪个包
public class MainApp {
    public static void main(String[] args) {
        SpringApplication.run(MainApp.class,args);
    }
}
